#ifndef MAINMENU_H_INCLUDED
#define MAINMENU_H_INCLUDED

#include "SDL/SDL.h"
#include "SDL/SDL_opengl.h"

#include "StateMachine.h"
#include "Artist.h"
#include "Image.h"

class MainMenu
{
    public:
        MainMenu(Artist* artistPointer, StateMachine* statePointer);

        void run();

        void setState(State);

    protected:
        StateMachine* stateMachine;
        Artist* artist;

        SDL_Event event;

        int numOptions;
        int place;
        int start;

        Image selector;
        Image save;
        Image newGame;
        Image continueGame;
        Image loadGame;
        Image editor;
        Image quit;

        State menuState;

        void cycle(std::string);
        void update();
        void display();
        void check_events();
        void setPositions();
};

#endif // MAINMENU_H_INCLUDED
